const sidebar = require('./sidebar')
module.exports = {
  title: '张晓坤授课笔记',
  description: '做一个破壳的蛋，突破自我！',
  base: './',
  public: `.vuepress/public`,
  logo: '/favicon.png',
  // 主题配置
  themeConfig: {
    sidebar,//启用侧边栏
    displayAllHeaders: false, // 显示所有页面的标题链接 默认值：false
    lastUpdated: '最新修改', // string | boolean
    nav: [
      { text: '主页', link: '/' },
      { text: '01-移动web', link: '/01-移动web/index' },
      { text: '02-js基础', link: '/02-js基础/index' },
      { text: '03-webapis', link: '/03-webapis/index' },
      { text: '04-js高级', link: '/04-js高级/index' },
      { text: '05-ajax', link: '/05-ajax/index' },
      { text: '06-git&CMS可视化项目', link: '/06-git&CMS可视化项目/index' },
      { text: '07-Node框架前置课', link: '/07-Node框架前置课/index' },
      { text: '08-vue基础', link: '/08-vue基础/day01-基础概念+指令' },
    ]
  },
  markdown: {
    // ......
    extendMarkdown: md => {
      md.use(require("markdown-it-disable-url-encode"));
    }
  },
  // 假如你的文档仓库和项目本身不在一个仓库：
  docsRepo: "",
  docsDir: "docs",
  docsBranch: "master",
  // 默认是 false, 设置为 true 来启用
  editLinks: false,
  // 默认为 "Edit this page"
  editLinkText: "帮助我们改善此页面！",
  markdown: {
    lineNumbers: true,
  },
}